package com.facebook.model.jpaimpl;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;
import javax.persistence.Embedded;
import com.facebook.model.api.Profile;
import com.facebook.model.api.RegistratedUser;

@Entity
public class RegistratedUserImpl implements RegistratedUser {
@Id
private String id;
private Date creationDate;
private String nickname;
@Embedded
private Profile profile;
private Boolean loggedin;

public RegistratedUserImpl() {
  super(); 
}
public String getId() {
  return id;
}
public void setId(String id) {
  this.id = id;
}
public Date getCreationDate() {
  return creationDate;
}
public void setCreationDate(Date creationDate) {
  this.creationDate = creationDate;
}
public String getNickname() {
  return nickname;
}
public void setNickname(String nickname) {
  this.nickname = nickname;
}
public Profile getProfile() {
  return profile;
}
public void setProfile(Profile profile) {
  this.profile = profile;
}
public Boolean getLoggedin() {
  return loggedin;
}
public void setLoggedin(Boolean loggedin) {
  this.loggedin = loggedin;
}
}
